package com.qf.bean;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * 2019/11/29
 * Administrator
 * restfulServer1129
 * 面向对象面向君  不负代码不负卿
 */
@XmlRootElement
/*
  <users>
    <userId></userId>
    <userName></userName>
  </users>
 */
public class Users {

    private Integer userId;
    private String userName;
    private String sex;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Users() {
    }

    public Users(Integer userId, String userName, String sex) {
        this.userId = userId;
        this.userName = userName;
        this.sex = sex;
    }

    @Override
    public String toString() {
        return "Users{" +
                "userId=" + userId +
                ", userName='" + userName + '\'' +
                ", sex='" + sex + '\'' +
                '}';
    }
}
